home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 002a / corewar.zip / COREWAR.DOC < prev    next >
Text File  |  1990-07-05  |  3KB  |  86 lines

  1.                              COREWAR
  2.                                 by
  3.                          Edwin J. Herrell
  4.                                 and
  5.                           Brad J. Hlista
  6.  
  7.  
  8.  
  9. Corewar exposes the innards of a simulated core, a computer battlezone,
  10. along with the programs, the soldiers, that reside and execute there.
  11. Most games of this sort allow a user to write programs that resemble
  12. assembly language.  A simplified version of an assembly language
  13. has been used in this implementation of Corewar.  Programs of a maximum
  14. line length of 128 can be made from a list of 15 commands.  These programs
  15. are then read by the Corewar shell and placed into the simulated computer
  16. memory.  There, they attempt to 'live' longer than any of the other players.
  17.  
  18. As this is a computer game, the execution of a program, hereafter called an
  19. organism, can be witnessed by the programmer.  A total of 15 organisms can
  20. be loaded by Corewar.  The interactive environment easily allows one to add
  21. and subtract organisms, step through the exection one command at a time,
  22. pause, restart and to quit the game.
  23.  
  24. Beginning
  25.  
  26. Hardware Requirements
  27.  
  28.    IBM-PC compatible
  29.    EGA/VGA graphics (640x350x16 minimum capability)
  30.    A reasonable amount of memory
  31.  
  32. A COREWAR.CFG file can be created to set the Corewar environment without
  33. having to set the associated parameters on the command line.  An example of
  34. a  CFG file has been included.
  35.  
  36. The parameters of the command line are explained by typing :
  37.  
  38.    C> corewar -?
  39.  
  40. The names of several organisms can also be placed on the command line.
  41. The default pathname for an organism is set to be...\COREWAR\ORGANISM.  This
  42. can be changed in the CFG file or set on the command line.  Other defaults
  43. are EGA 640 x 350, Keypad for the interactive environment and memory Grid
  44. set to 50.  The organism must be saved as <name>.PRG .
  45.  
  46. The best way of explaining how to become a corewar programmer is by example:
  47.  
  48.    C> corewar bug dwarf
  49.  
  50. is a command line that will use the defaults or the COREWAR.CFG to load two
  51. programs named bug.prg and dwarf.prg.
  52.  
  53.    C> corewar -v -m -g100 bug dwarf
  54.  
  55. sets vga 640 x 480, the mouse, a Grid of 100 x 100 and loads the two programs
  56. bug and dwarf.
  57.  
  58. A COREWAR.CFG can be represented by:
  59.  
  60.    MOUSE
  61.    VGA
  62.    ORGPATH C:\GAMES\COREWAR\ORGANISM
  63.    GRID 150
  64.  
  65. The Corewar first sets the defaults then looks for a COREWAR.CFG file and
  66. then overides all settings as determined by the command line.
  67.  
  68. To access the side menu press the righthand mouse button or the <ESC> 
  69. key depending on the configuration (MOUSE or KEYPAD).
  70.  
  71. Examples of several organisms have been included.  The list of program
  72. commands can be found in COREWAR.CMD .
  73.  
  74. To get started type CW.BAT for an example game of 15 players.
  75.  
  76. Feel free to distribute this program and associated files unaltered.
  77.  
  78. Any questions or comments can be directed to :
  79.  
  80.     aragorn@titan.tsd.arlut.utexas.edu
  81. or
  82.      elrond@titan.tsd.arlut.utexas.edu    128.83.145.71
  83.  
  84. Also, if you create any interesting organisms, please send them to us; we'll
  85. pick a grand winner from all the entries.
  86.